package PMIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "PMIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class PMIRPPOATie
	extends PMIRPPOA
{
	private PMIRPOperations _delegate;

	private POA _poa;
	public PMIRPPOATie(PMIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public PMIRPPOATie(PMIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public PMIRPSystem.PMIRP _this()
	{
		return PMIRPSystem.PMIRPHelper.narrow(_this_object());
	}
	public PMIRPSystem.PMIRP _this(org.omg.CORBA.ORB orb)
	{
		return PMIRPSystem.PMIRPHelper.narrow(_this_object(orb));
	}
	public PMIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(PMIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public PMIRPConstDefs.Result suspend_measurement_job(int job_id) throws PMIRPSystem.JobAlreadySuspended,PMIRPSystem.UnknownJob,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.SuspendMeasurementJob
	{
		return _delegate.suspend_measurement_job(job_id);
	}

	public PMIRPConstDefs.Result resume_measurement_job(int job_id) throws PMIRPSystem.JobIsNotSuspended,PMIRPSystem.ResumeMeasurementJob,PMIRPSystem.HighWorkLoad,PMIRPSystem.UnknownJob,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.resume_measurement_job(job_id);
	}

	public java.lang.String iRPId()
	{
		return _delegate.iRPId();
	}

	public java.lang.String[] get_pm_irp_versions() throws PMIRPSystem.GetPMIRPVersions
	{
		return _delegate.get_pm_irp_versions();
	}

	public PMIRPConstDefs.Result resume_threshold_monitor(int monitor_id) throws PMIRPSystem.UnknownThresholdMonitor,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.ThresholdMonitorIsNotSuspended,PMIRPSystem.ResumeThresholdMonitor
	{
		return _delegate.resume_threshold_monitor(monitor_id);
	}

	public PMIRPConstDefs.Result list_measurement_jobs(int[] job_list_d, PMIRPConstDefs.JobInfoListHolder job_info_list) throws ManagedGenericIRPSystem.InvalidParameter,PMIRPSystem.ListMeasurementJobs
	{
		return _delegate.list_measurement_jobs(job_list_d,job_info_list);
	}

	public PMIRPConstDefs.Result delete_threshold_monitor(int monitor_id) throws PMIRPSystem.UnknownThresholdMonitor,PMIRPSystem.DeleteThresholdMonitor,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.delete_threshold_monitor(monitor_id);
	}

	public PMIRPConstDefs.Result stop_measurement_job(int job_id) throws PMIRPSystem.UnknownJob,PMIRPSystem.StopMeasurementJob,PMIRPSystem.JobCannotBeStopped
	{
		return _delegate.stop_measurement_job(job_id);
	}

	public ManagedGenericIRPConstDefs.Method[] get_pm_irp_operations_profile(java.lang.String pm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.GetPMIRPOperationsProfile
	{
		return _delegate.get_pm_irp_operations_profile(pm_irp_version);
	}

	public ManagedGenericIRPConstDefs.Method[] get_pm_irp_notification_profile(java.lang.String pm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.GetPMIRPNotificationProfile
	{
		return _delegate.get_pm_irp_notification_profile(pm_irp_version);
	}

	public PMIRPConstDefs.Result list_threshold_monitors(int[] monitor_id_list, PMIRPConstDefs.MonitorInfoListHolder monitor_info_list) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.ListThresholdMonitors
	{
		return _delegate.list_threshold_monitors(monitor_id_list,monitor_info_list);
	}

	public ManagedGenericIRPConstDefs.Signal create_threshold_monitor(java.lang.String mo_class, java.lang.String[] mo_instance_list, PMIRPConstDefs.ThresholdInfo[] threshold_info_list, int monitor_granularity_period, org.omg.CORBA.IntHolder monitor_id, PMIRPConstDefs.MUnsupportedListHolder unsupported_list) throws PMIRPSystem.CreateThresholdMonitor,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.create_threshold_monitor(mo_class,mo_instance_list,threshold_info_list,monitor_granularity_period,monitor_id,unsupported_list);
	}

	public PMIRPConstDefs.Result suspend_threshold_monitor(int monitor_id) throws PMIRPSystem.UnknownThresholdMonitor,ManagedGenericIRPSystem.OperationNotSupported,PMIRPSystem.ThresholdMonitorAlreadySuspended,PMIRPSystem.SuspendThresholdMonitor
	{
		return _delegate.suspend_threshold_monitor(monitor_id);
	}

	public ManagedGenericIRPConstDefs.Signal create_measurement_job(java.lang.String mo_class, java.lang.String[] mo_instance_list, java.lang.String[] measurement_category_list, int granularity_period, int reporting_period, PMIRPConstDefs.IRPTimeOpt start_time, PMIRPConstDefs.IRPTimeOpt stop_time, PMIRPConstDefs.ScheduleOpt schedule, PMIRPConstDefs.JobPriorityOpt priority, org.omg.CORBA.IntHolder job_id, PMIRPConstDefs.JUnsupportedListHolder unsupported_list) throws PMIRPSystem.CreateMeasurementJob,PMIRPSystem.HighWorkLoad,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.create_measurement_job(mo_class,mo_instance_list,measurement_category_list,granularity_period,reporting_period,start_time,stop_time,schedule,priority,job_id,unsupported_list);
	}

}
